﻿using System;

namespace FX.CC.Andon.Entity.ReportManage
{
    public class ModelRecEntity
    {

        public Guid RecID { get; set; }
        public Guid FlowID { get; set; }
        public int ProcessIdx { get; set; }
        public string PrdCode { get; set; }
        public string PrdName { get; set; }
        public DateTime BizDate { get; set; }
        public decimal ElapsedTime { get; set; }
        public decimal ModelMin { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public decimal TimeDifferenceValue
        {
            get
            {
                return Math.Round((ElapsedTime - ModelMin), 2);
            }
        }
    }
}
